package com.itheima.dao;


import com.itheima.pojo.Order;
import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    // 添加预约信息
    public void add(OrderSetting orderSetting);
    // 修改预约信息
    public void editNumberByOrderDate(OrderSetting orderSetting);
    // 查询预约信息
    public long findCountByOrderDate(Date orderDate);

    // 展示预约信息
    public List<OrderSetting> getOrderSettingByMonth(Map map);

    // 查询预约信息，
    public OrderSetting findByOrderDate(Date orderDate);

    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);
}
